no | item | title | name | date | hit |
---|---|---|---|---|---|
27179 |
rosmaster x3 plus ![]() |
나-이광희 | 2024-06-27 | 23 | |
27167 |
![]() ![]() |
wogus1971 | 2024-06-21 | 21 | |
27166 |
![]() |
wogus1971 | 2024-06-21 | 23 | |
27161 |
![]() |
kjs | 2024-06-20 | 15 | |
27155 |
자율주행 프로젝트 : 4휠 스마트카 ![]() |
김헌수 | 2024-06-19 | 136 |
----------------------------------
#include SoftwareSerial.h //헤더에 꺾쇠 가로 닫기 해주세요
#define BT_RXD A2
#define BT_TXD A3
SoftwareSerial bluetooth(BT_RXD, BT_TXD);
void setup() {
Serial.begin(9600);
bluetooth.begin(9600);
}
void loop() {
if (bluetooth.available()) {
Serial.write(bluetooth.read());
}
if (Serial.available()) {
bluetooth.write(Serial.read());
}
}